<?php

namespace App\Model;
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
// use Jenssegers\Mongodb\Eloquent\HybridRelations;

class TokenModel extends Eloquent
{

  // use HybridRelations; # 关系

  protected $collection = 'wx_config'; # 文档名
  protected $primaryKey = '_id'; # 设置ID
  protected $fillable = ['app_id', 'app_secret', 'app_token', 'expire_at'];  //设置字段白名单 


}
